package com.hqd.ch03.v50.web.servlet.support;

import com.hqd.ch03.v50.beans.converter.ConversionService;
import com.hqd.ch03.v50.core.MethodParameter;
import com.hqd.ch03.v50.web.utils.UriComponentsBuilder;

import java.util.Map;

public interface UriComponentsContributor {
    boolean supportsParameter(MethodParameter parameter);

    void contributeMethodArgument(MethodParameter parameter, Object value, UriComponentsBuilder builder,
                                  Map<String, Object> uriVariables, ConversionService conversionService);
}
